package com.lqjava.tuxiaowang.tuxiaowang.customerapp.app.sdk.pay.beans;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

public class PayInfo {

	public PayInfo() {
	}
	
	public PayInfo(String jsonStr) {
		JSONObject parseObject = JSON.parseObject(jsonStr);
		this.appId = parseObject.getString("appId");
		this.timeStamp = parseObject.getString("timeStamp");
		this.nonceStr = parseObject.getString("nonceStr");
		this.packaged = parseObject.getString("package");
		this.signType = parseObject.getString("signType");
		this.paySign = parseObject.getString("paySign");
	}
	
	private String appId;
	private String timeStamp;
	private String nonceStr;
	private String packaged;
	private String signType;
	private String paySign;
	
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getPackaged() {
		return packaged;
	}
	public void setPackaged(String packaged) {
		this.packaged = packaged;
	}
	public String getSignType() {
		return signType;
	}
	public void setSignType(String signType) {
		this.signType = signType;
	}
	public String getPaySign() {
		return paySign;
	}
	public void setPaySign(String paySign) {
		this.paySign = paySign;
	}
}
